package com.cltech.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2019/4/18.
 */
public class PermissionType {
    /**
     * 菜单.
     */
    public static final String MENU = "0";
    /**
     * 操作权限.
     */
    public static final String OPERATION_AUTHORITY = "1";
    /**
     * 按钮.
     */
    public static final String BUTTON = "2";

    public static final Map<String, String> PERMISSION_TYPE = new HashMap<>();
    static {
        PERMISSION_TYPE.put(MENU, "菜单");
        PERMISSION_TYPE.put(OPERATION_AUTHORITY, "操作权限");
        PERMISSION_TYPE.put(BUTTON, "按钮");
    }
}
